Reference for Wiring version 0027+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name

// (comment)

Examples
// Initializes pin 0 as OUTPUT
// sets pin 0 HIGH
pinMode(0, OUTPUT);     // Sets pin 0 as OUTPUT 
digitalWrite(0, HIGH);  // Sets pin 0 HIGH
Description Explanatory notes embedded within the code. Comments are used to remind yourself and to inform others about the function of your program. Single-line comments are signified with the // characters. Comments are ignored by the compiler.
Syntax
// comment
Parameters
comment any sequence of characters
Usage Application
Related /* */ (multiline comment)
Updated on September 17, 2010 12:15:28pm PDT

Creative Commons License